#ifndef CGame_h__
#define CGame_h__

#include "Header.h"

namespace GameTutor
{
	class CGame
	{
	public:
		static CGame* GetInstance() {return s_pInstance;}
		virtual ~CGame() {}
		virtual void Run();
		virtual void Pause();
		virtual void Resume();		
		virtual void Exit();
		bool isAlive() {return m_isAlive;}
		bool isPause() {return m_isPause;}
	protected:
		CGame();

		virtual void Init();
		virtual void Destroy();

		bool m_isAlive;
		bool m_isPause;
	protected:
		static CGame* s_pInstance;
	};
}

#endif // CGame_h__